package com.example.his.api.mis.controller.form.goods.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
public class CheckupVo {
  
  @NotBlank(message = "title不能为空")
  @Length(min = 1, max = 50, message = "title长度必须介于1和50之间")
  private String title;
  
  @NotBlank(message = "title不能为空")
  @Length(max = 500, message = "title长度必须介于1和50之间")
  private String content;
  
  
}
